package com.freemyleft.left.zapp.ui.camera;

import android.net.Uri;

import com.freemyleft.left.zapp.delegates.PermissionCheckerDelegate;
import com.freemyleft.left.zapp.util.FileUtil;


/**
 * Created by FreeMyleft on 2017/10/14.
 */

public class LeftCamera {
    public  static Uri creareCropFile(){
        return Uri.parse(FileUtil.createFile
                ("crop_image",FileUtil.getFileNameByTime("IMG","jpg")).getPath());

    }
    public static void start(PermissionCheckerDelegate delegate){

        new CameraHandler(delegate).beginCameraDialog();
    }
}
